﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KylinORM.CQRS.Publisher
{
    /// <summary>
    /// 定义一个命令
    /// </summary>
    public interface IMessage
    {
        /// <summary>
        /// 命令的唯一标识符
        /// </summary>
        Guid GUID { get; }
        /// <summary>
        /// 命令名称
        /// </summary>
        string MessageName { get; }
        /// <summary>
        /// 命令类型
        /// </summary>
        EMessageType MessageType { get; }
    }
}
